package net.sansi.v3correctserver.dto.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Created by Fang
 * create time : 2025/2/11
 * IDE : IntelliJ IDEA
 * <p>
 * 任务 DTO
 */

public class TaskDto {

    @ApiModel("停止任务请求")
    @Data
    @Accessors(chain = true)
    public static class InterruptReq {
        @ApiModelProperty("任务id")
        private String taskId;

        @ApiModelProperty("是否等待任务结束")
        private Boolean wait;
    }
}
